package org.example.admin.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.example.admin.exception.BizException;
import org.example.entity.User;
import org.example.entity.UserSystem;

import java.io.InputStream;
import java.util.List;

public interface UserSystemService extends IService<UserSystem> {
    /**
     * 生成excel
     * @param fileName
     * @return 返回为excel文件在本地的保存路径
     * @throws BizException
     */
    String generateExcel(String fileName, List<User> list) throws BizException;

    void parseExcelAndInsertData(InputStream inputStream) throws BizException;
}
